Recording defect substitution method for a disc-shaped recording medium, and a recording and reproducing apparatus for a dissc-shaped recording medium

ABSTRACT

In a recording and reproducing apparatus for a disc-shaped recording medium, and a defect substitution method for a disc-shaped recording medium ( 8 ), whether reproduction of recorded data is good is determined by sector unit and not by product code unit, defective sector discrimination is performed by sector unit, and only sectors determined defective are alternately recorded, when using a recording format in which data that is error detection and correction coded with a product code is segmented and recorded to a plurality of sectors.

FIELD OF THE INVENTION

[0001] The present invention relates to a defect substitution method of a disc-shaped recording medium having a sector structure, and to an apparatus for recording and reproducing data on a disc-shaped recording medium using said defect substitution method, and more specifically relates to an optical disc defect management method of an optical disc in a recording system in which error detection and correction coding spans a plurality of sectors, and to an optical disc recording and reproducing apparatus.

DESCRIPTION OF THE PRIOR ART

[0002] High speed random access is possible with disc-shaped recording media, and a high recording density can be achieved by formatting a disc with a narrow data track pitch and bit pitch. Disc-shaped recording media can be generally categorized based on differences in the applicable recording method as either a magnetic disc or optical disc, and can be further classified as either a fixed type or removable type media based on differences in the method whereby the medium is mounted in the recording/reproducing apparatus during use. The smallest recording unit of the physical recording area to which data is generally recorded on disc-shaped recording media is called a “sector.” Sectors that cannot be used for data storage also occur in disc-shaped recording media as a result of defects during manufacture or damage occurring after manufacture. In addition to data writing errors occurring as a result of writing data sectors that are defective as a result of damage to the disc-shaped recording medium itself, data writing errors attributable to the operating environment can also occur as described below.

[0003] Optical discs, of which the DVD is typical, have been widely used in recent years as a large capacity recording medium because of their high recording density. Further advances in recording density have also been achieved to further increase storage capacity. Optical discs, however, are typically manufactured from low rigidity materials such as polycarbonate, and even disc deflection resulting from the dead weight of the disc cannot be ignored. In addition, this type of optical disc is commonly used as a replaceable, removable recording medium. For use, the disc is inserted to a recording and reproducing apparatus and mounted on a rotating spindle, and the positioning precision of the disc therefore cannot be assured.

[0004] It is also common to directly insert optical discs to the recording and reproducing apparatus without housing the disc in a protective case. Even when used housed in such a protective case, however, the entire recording medium is exposed during recording and reproducing because the protective case is not airtight. That is, optical disc recording media have essentially no shielding against the ambient environment. It should be noted that the problems specific to optical recording media reside in the point that these media are different from the hard disc recording media, including both low recording density fixed discs and removable hard discs, which are also a magnetic storage medium.

[0005] In addition to problems associated with their rigidity, mounting precision, and low airtightness, when an optical disc recording medium is inserted to a recorder and recorded or played, normal recording and reproducing can be inhibited by variations in the relative position to the optical pickup, or by foreign matter in the air interfering with the laser from the optical pickup. In such cases, data reading and writing can be obstructed through a wide band of the recording area, and burst mode recording and reproduction errors occur easily, as a result of the narrow track pitch and dot pitch enabling high density recording, even if there are no disc defects or damage to the information sector of the optical disc recording medium. While such burst-mode recording and reproducing problems occur easily in optical disc recording media, they are also found in the above-noted magnetic recording media and are common to all types of disc-shaped recording medium.

[0006] “Recording defect” is a general term for the inability to record as a result of a defect or damage to the recording medium itself or the conditions under which the disc is used. If a recording defect occurs when recording data to a particular sector, data is recorded continuously to the recording medium by saving the data to a reserved recording sector area, which is reserved separately from the normal data recording sectors, no matter what the cause of the recording defect. This operation of recording to a reserved sector area data that should be recorded to the sector in which a recording defect occurred is called “alternative recording,” and the reserved sector area used for alternative recording is called an “alternative area.”

[0007] In consideration for the above-noted problems, an object of the present invention is therefore to provide a defect management method whereby the size of the required alternative area can be suppressed and a disc-shaped recording medium can be efficiently used, and to provide a recording and reproducing apparatus for a disc-shaped recording medium.

DISCLOSURE OF THE INVENTION

[0008] A disc-shaped recording medium recording and reproducing apparatus for recording data by sector unit to a disc-shaped recording medium having a structure with a plurality of recording sectors, said disc-shaped recording medium recording and reproducing apparatus characterized by comprising: a coding means for error detection and correction coding said data twice, in row and column directions, and segmenting said data into sector units; a means for recording data coded in sector units to a sector in a first recording area of said disc-shaped recording medium; a defective sector discrimination means for reproducing said sector to discriminate whether the sector is a defective sector; and a defective sector substitution means for, when said sector is determined to be a defective sector, recording data recorded to a defective sector to an alternative sector in a second recording area disposed on said disc-shaped recording medium.

BRIEF DESCRIPTION OF THE DRAWINGS

[0009]FIG. 1 is a typical view of the recording surface of an optical disc recording medium according to the present invention;

[0010]FIG. 2 is a typical view of the logic structure of a recording area of the optical disc recording medium shown in FIG. 1;

[0011]FIG. 3 is a typical illustration showing the relationship between a sector and error detection and correction coded data according to the present invention;

[0012]FIG. 4 is a typical view showing an interleaving method for error detection and correction coded data according to the present invention;

[0013]FIG. 5 is a block diagram showing the configuration of an optical disc recording medium recording and reproducing apparatus according to the present invention;

[0014]FIG. 6 is a typical view used to describe the defective sector substitution process according to a first embodiment of the present invention;

[0015]FIG. 7 is a typical view used to describe the defective sector substitution process according to a second embodiment of the present invention;

[0016]FIG. 8 is a flow chart showing the operation of the optical disc recording medium recording and reproducing apparatus shown in FIG. 5;

[0017]FIG. 9 is a flow chart showing the detailed operation of the reproduction control step shown in FIG. 8;

[0018]FIG. 10 is a flow chart showing the detailed operation of the recording control step shown in FIG. 8;

[0019]FIG. 11 is a flow chart showing the detailed operation of the target address extraction step shown in FIG. 8;

[0020]FIG. 12 is a flow chart showing the detailed operation of the PDL-based address conversion step shown in FIG. 11;

[0021]FIG. 13 is a flow chart showing the detailed operation of the SDL-based address conversion step shown in FIG. 11;

[0022]FIG. 14 is a flow chart showing the detailed operation of the sector substitution processing step shown in FIG. 8 according to a first embodiment; and

[0023]FIG. 15 is a flow chart showing the detailed operation of the sector substitution processing step shown in FIG. 8 according to a second embodiment.

BEST MODE FOR ACHIEVING THE INVENTION

[0024] A defect substitution method and a recording and reproducing apparatus based on a working example of the present invention are described below with reference to the accompanying figures using an optical disc recording medium as exemplary of a disc-shaped recording medium, including magnetic recording media.

[0025] The physical format of a recording surface of an optical disc recording medium written by a recording and reproducing apparatus according to the present invention is shown in FIG. 1. This optical disc recording medium (hereafter simply “optical disc”) is segmented, in sequence from the inside circumference side of the disc, into a lead-in area LiA, a data area DuA, and a lead-out area LoA. Management information for data recorded to the optical disc, and including information for defect management, is recorded to the lead-in area LiA and lead-out area LoA. User data is recorded to the data area DuA. Each track, which corresponds in this example to one revolution of the disc, is divided into plural sectors. Each sector comprises an ID part containing a preformatted sector address, and a data recording part UD to which data is written. The sector address written to the ID part is lowest in the sectors at the inside circumference and increases sequentially at each sector.

[0026] The data area DuA in the present example is formatted for zone-constant linear velocity (ZCLV) access, that is, the data area DuA is segmented into a plurality of zones ZN0 to ZNm (where m is an integer), the number of sectors per track in a given zone ZN increases from the inside circumference to the outside circumference of the disc, and the rotational velocity of the disc is adjusted for each zone to achieve a constant transfer rate. In the present example, there are 8 sectors per track in zone ZN0 and the lead-in area LiA, 9 sectors per track in zone ZN1, and 16 sectors per track in zone ZNm and the lead-out area LoA.

[0027] The logical format of a recording surface of the optical disc shown in FIG. 1 is shown in FIG. 2. The lead-in area LiA is segmented into two areas, defect management areas DMA1 and DMA2, to which management information for defect management is recorded. The data area DuA is segmented into a plurality of zones ZN0 to ZNm. Each zone ZN is divided into a data sector area ADS to which user data is written, and a spare sector area ASS, which is used as an alternative sector when a defective sector is found.

[0028] The lead-out area LoA is segmented into two areas, defect management areas DMA3 and DMA4, to which management information for defect management is recorded. For increased reliability, the same information is recorded to a primary defect list PDL and a secondary defect list SDL in each of the defect management areas DMA1, DMA2, DMA3, and DMA4. The primary defect list PDL contains defective sector addresses PDSA0 to PDSAn (where n is an integer) in sequence from low to high address where the defective sector addresses PDSA0 to PDSAn are defect management information used for a slipping method described below. The secondary defect list SDL contains defective sector addresses SDSA0 to SDSAp (where p is an integer) and alternative sector addresses SSSA0 to SSSAp in sequence from low to high address where defective sector addresses SDSA0 to SDSAp are defect management information used for a linear placement method described below.

[0029] An effective method of handling burst-mode read/write errors in an optical disc thus formatted is to increase the interleave length in depth of the error detection and correction code, disperse burst-mode errors to the level of random errors with respect to the error detection and correction code, and thereby improve data reproduction reliability. For example, in an optical disc recording medium provided for recording and reproducing digitally compressed image data, 2 KB of user data is recordable per sector, and the error detection and correction code is compiled for blocks of 16 sectors, thereby more deeply interleaving error detection and correction. More specifically, the data is formatted so as to increase the interleave length in depth by error detection and correction coding each 32 KB block of user data twice, that is, in row and column directions, creating coded data blocks each containing a total about 38 KB of data, including error detection and correction coding parity data.

[0030] While a read-only optical disc recording medium (hereafter a “ROM disc”) containing prerecorded data can only be read, user data can be recorded using a recording device (hereafter “drive”) to an optical disc recording medium that can both be read from and written to (hereafter a “RAM disc”). For the reasons described above, however, it is not always possible to completely record the data to be recorded. That is, it is generally difficult to ensure normal recording of data to all sectors because of defects in the recording medium occurring during or after manufacture, deflection of the medium, variations in the positioning precision inside the drive, or dust and other foreign matter.

[0031] The drive therefore generally has a defect substitution function for applying a read verification process whereby the recorded data is reproduced to confirm that normal reproduction is possible, and substituting an alternate recording area when a writing error is detected. Writing error detection is typically performed during the process of decoding the error detection and correction code during reproduction, and the unit used for this substitution process is therefore the error detection and correction coding unit. With a magneto-optical disc used for recording code data, for example, the defect substitution process is applied in 512 byte blocks, the unit used for error detection and correction coding, or in units of a single sector, which corresponds to 1 KB of user data.

[0032] When the error detection and correction code is the unit for the defect substitution process, a write error in one place requires the entire corresponding error detection and correction code to be alternately recorded, and when an error correction code with a deep interleave is used, it is necessary to reserve more alternate recording areas. As a result, the ability to effectively utilize the recording area of the recording medium can be impaired. For example, when a block of 16 sectors is the unit for one error detection and correction code in a RAM disc as described above, all 16 sectors must be substituted when a write error occurs in any one sector, and in a worst-case scenario a 16-sector alternative area is required for each defective sector. The present invention therefore further provides an error detection and correction coding method and apparatus for minimizing the alternative area required for a single writing error, and improving the utilization efficiency of the recording medium, as described in detail below with reference to FIG. 3 to FIG. 15.

[0033]FIG. 3 shows the relationship between a sector and the error detection and correction coding data according to the present invention. The coded data for one error detection and correction code is allocated and recorded to the data recording areas UD in 16 sectors. As described above, address information is prerecorded to the ID part, and user data is recorded to the data recording area UD.

[0034] A typical interleaving method for an error detection and correction code according to the present invention is shown in FIG. 4. The structure of the error detection and correction code is shown on the left side of FIG. 4, and the method of interleaving the error detection and correction code for recording to 16 sectors as shown in FIG. 3 is shown on the right side of the figure.

[0035] As shown in the figure, the error correction code shown on the left side comprises approximately 32 KB of data 3, which contains Data 0 to Data 15, each approximately 2 KB, including 2 KB of user data, a CRC for error detection, and control data for such as copyright protection, and is arranged in a row and column pattern containing 172 bytes per row and 192 bytes per column. 4 is a C1 parity which contains parity blocks C1-0 to C1-15, which are generated by error detection and correction coding data 3 in rows, and adding a 10-byte parity code to each row. 5 is a C2 parity which contains parity blocks C2-0 to C2-15, which are generated by error detection and correction coding data 3 in columns, and adding a 16-byte parity code for each column.

[0036] Thus, as described above, a product code is used for error detection and correction coding approximately 32 KB of data in both row and column directions. In addition, both the row and column error detection and correction codes are formatted for high reliability error correction using a Reed-Solomon code to ensure a sufficiently long interleave length of approximately 38 KB, including parity data, and effective correction of both random errors and burst errors.

[0037] In the structure of the interleaved error detection and correction code shown on the right, data 3 is segmented row-wise into 16 blocks from Data 0 to Data 15. The C1 parity 4 is divided row-wise into 16 blocks from C1-0 to C1-15. The C2 parity 5 is segmented row-wise into 16 blocks from C2-0 to C2-15. The data recorded to each sector comprises one block of segmented data 3, one block of C1 parity 4, and one block of C2 parity 5. The recording data of one sector is then recorded to the data recording area UD of 16 sectors in m row direction.

[0038] In other words, row 1 of Data 0, row 1 of C1-0, row 2 of Data 0, row 2 of C1-0, and so on to row 12 of Data 0, row 12 of C1-0, and C2-0 are recorded to the first sector. Row 1 of Data 1, row 1 of C1-1, row 2 of Data 1, row 2 of C1-1, and so on to row 12 of Data 1, row 12 of C1-1, and C2-1 are recorded to the second sector. Subsequent sectors are similarly recorded until the 16th sector where row 1 of Data 15, row 1 of C1-15, row 2 of Data 15, row 2 of C1-15, and so on to row 12 of Data 15, row 12 of C1-15, and C2-15 are recorded.

[0039] As thus described above, 32 KB of user data is product coded, and recorded distributed across 16 sectors.

[0040] The configuration of a disc-shaped recording medium recording and reproducing apparatus according to the present invention with application to an optical disc is shown in FIG. 5. Said apparatus comprises an optical disc 8, disc motor 9, optical head 10, laser drive circuit 11, modulator/demodulator 12, error detector and corrector 13, RAM 14, interface controller 15, amplifier/digitizer 16, focus tracking controller 17, and control CPU 18. The disc motor 9 rotates the optical disc 8. The optical head 10 comprises an optical lens and semiconductor laser, and accomplishes reading and writing data to the optical disc 8. The laser drive circuit 11 drives the laser of the optical head 10. During recording, the modulator/demodulator 12 digitally modulates the data to a form suitable for recording, and during reproduction demodulates the data. The error detector and corrector 13 error detection and correction codes the data during recording, and during reproduction decodes the coded data and applies error detection and correction. RAM 14 is used as a data buffer and working RAM of the error detector and corrector 13. The interface controller 15 controls interfacing with a host computer through an external input terminal Ti and output terminal To. The amplifier/digitizer 16 amplifies and digitizes the reproduced signal. The focus tracking controller 17 tracks the optical head 10 to the target track, and focuses the laser beams on the recording surface.

[0041] The control CPU 18 is the control device providing overall control of the optical disc recording and reproducing apparatus, and comprises a target address extractor 31, reproduction controller 32, command controller 33 for such operations as command analysis, a recording controller 34, and a sector substitution processor 35.

[0042] The target address extractor 31 determines the sector address for reading or writing. The reproduction controller 32 reproduces data from a sector. The command controller 33 for such operations as command analysis performs such operations as analyzing commands from a host computer. The recording controller 34 controls recording for writing data to a sector. The sector substitution processor 35 handles alternate recording in sector units when a defective sector is found during recording. The control CPU 18 is preferably a microprocessor whereby the functions of the component units thereof can be accomplished in software.

[0043] The data recording operation by an optical disc recording and reproducing apparatus thus constructed is described briefly below.

[0044] User data S19 sent from a host computer is passed by the interface controller 15 and temporarily stored to the RAM 14, which is a working buffer for the error detector and corrector 13. Note that user data S19 corresponds to Data 0 to Data 15 described above with reference to FIG. 4. The error detector and corrector 13 generates the C1 parity 4 and C2 parity 5 by means of row-wise coding, that is, C1 coding, and column-wise coding, that is C2 coding. The control CPU 18 notifies the focus tracking controller 17 of the target track, and the focus tracking controller 17 thus moves the optical head 10 to the target track. The light beam emitted from the optical head 10 is reflected by the optical disc 8, producing a read beam that is supplied to the amplifier/digitizer 16.

[0045] The read beam is modulated according to the pits and lands of the ID part to which the prerecorded address information is recorded. In the data recording area UD where data is recorded, the read beam is modulated according to the variations in amount of reflected light produced by the recording marks. The modulated read beam is thus converted by the amplifier/digitizer 16 to digital read signal S20, which is supplied to the modulator/demodulator 12. The modulator/demodulator 12 detects the address of the target sector from the digital read signal S20, and digitally modulates the coded data S21 from the error detector and corrector 13. The digitally modulated modulation data S22 is sent to the laser drive circuit 11, which modulates the laser power according to the modulation data S22, and records data to the data recording area UD of the target sector on the optical disc 8. While the data of 16 sectors is the smallest unit used for error detection and correction coding, data can be recorded in sector units because each sector has a unique address.

[0046] The operation for reproducing data is described briefly next. When data is reproduced, the control CPU 18 sends the target track for data reproduction to the focus tracking controller 17, and the focus tracking controller 17 tracks the light beam from the optical head 10 to the target track. As during recording, a digital read signal 20 is generated from the light reflected from the optical disc 8, and the target sector is detected by the modulator/demodulator 12. The modulator/demodulator 12 digitally demodulates the digital read signal 20 obtained from the data recording area of the target sector, and supplies the result as the reproduced data to the error detector and corrector 13. The error detector and corrector 13 begins the error detection and correction operation after 16 sectors of reproduction data have been supplied from the modulator/demodulator 12. That is, decoding the C1 and C2 error correction codes is repeated to the correction capacity of the code, thereby correcting read errors resulting from foreign matter on the recording surface of the optical disc 8. The corrected data is then passed through the interface controller 15 to the host computer.

[0047] The above operations are controlled by the control CPU 18 and executed as a single continuous operation. It should be noted that description of a timing control circuit and other components common to a conventional recording and reproducing apparatus for an optical disc recording medium is omitted in FIG. 5 and the above description.

[0048]FIG. 6 is a typical illustration of a substitution process according to the present invention adapted to a linear replacement type sector substitution process. As described with reference to FIG. 2, data is recorded to a data sector area ADS provided in each zone ZN in the linear replacement method, and the data intended for recording to a defective sector is recorded to a spare sector area ASS.

[0049] What occurs when a single unit of error detection and correction coded data is recorded to 16 sectors from sector S0 to S15 is considered below. Whether recording was accomplished normally or not is determined by detecting address reproduction errors during recording, or by a verification process, that is, by reproducing data after it is recorded to determine whether the data can be normally reproduced. It is assumed below that a recording error was detected by this verification process in sector S2, that is, that sector S2 is a defective sector.

[0050] In this case, sector substitution is not applied to all 16 sectors, that is, the entire error detection and correction coding unit. Instead, only the data D2 that should be recorded to the defective sector S2 is recorded to an alternate sector, for example alternate sector AS1, in the spare sector area ASS. In the subsequent recording and reproducing, the alternate AS1 is always used instead of the defective sector S2. This method whereby alternate data is recorded continuously is known as the linear replacement method.

[0051] Therefore, in the present working example of the invention described above, alternate sector recording is applied by sector unit rather than an masse to the 16 sector unit used for error correction coding. It is therefore only necessary to provide one alternate sector for one defective sector even when a defective sector is generated, thereby reducing the number of sectors that must be provided as alternate sectors, and enabling an optical disc to be efficiently utilized.

[0052] A substitution method based on a verification process whereby recorded data is immediately reproduced to determine whether data is correctly recorded, and a linear replacement operation implemented as described in the present working example after the verification process, is described next.

[0053] Data is recorded as described above. The recorded data is stored in RAM 14 until the verification process described below is completed. Data reproduction in the verification process differs from the normal reproduction operation and in the operation of the error detector and corrector 13. In the case of reproduction for the verification process, the error detector and corrector 13 only decodes data from a particular sector, and therefore only decodes the C1 code, when decoding the read data supplied from the modulator/demodulator 12. The C1 code is a Reed-Solomon code with an additional 10-byte parity code, enabling correction of a maximum 5 bytes at any particular position in the code word. In the present example, however, the correction operation is limited to 3 bytes, and detection of any error exceeding this level results in a recording error determination. A specific sector can be, identified when an error exceeding 3 bytes is detected because the C1 code is coded row-wise. Both sectors containing a single error exceeding 3 bytes are identified as recording error sectors, and sectors in which an error occurs in the ID part and the address information cannot be detected during recording, are treated as defective sectors, which are handled by the sector substitution process described below.

[0054] In the sector substitution process, the control CPU 18 determines the address of an unused alternate sector in the spare sector area ASS when detection of a recording defect sector is reported by the error detector and corrector 13. The target track is then extracted from said determined alternate sector address, the focus tracking controller 17 is informed of the target track as during the recording operation described above, and the data is then recorded. Only the data from the defective sector is recorded when recording to an alternate sector, and recording is thus controlled by sector unit. A map of information describing the relationship between defective sectors and alternate sectors is also recorded at this time to a separate substitution management sector.

[0055] By thus applying the sector substitution process to sector units as described above, alternate sectors are not needed for the plurality of sectors used as the unit for the error correction code when a single sector is determined to be defective, and it is only necessary to provide one alternate sector for one defective sector. As a result, the number of sectors that must be reserved as alternate sectors can be reduced, and the optical disc can be efficiently utilized as described above.

[0056]FIG. 7 is a typical illustration of a substitution process according to the present invention adapted to a slipping sector substitution process. Data is also recorded to a data sector area ADS provided in each zone ZN in the slipping method, but the data intended for recording to a defective sector is recorded to the data sector area ADS after the defective sector. That is, the data sector area ADS is handled in the slipping method as a combination of the above-described data sector area (ADS) and the spare sector area (ASS) of the linear replacement method.

[0057] Note that the data verification process is the same in the slipping method as in the linear replacement method, and the sector substitution process is therefore described briefly below.

[0058] What occurs when a single unit of error detection and correction coded data is recorded to 16 sectors from sector S0 to S15 is considered below. Whether recording was accomplished normally or not is determined by detecting address reproduction errors during recording, or by a verification process, that is, by reproducing data after it is recorded to determine whether the data can be normally reproduced. It is assumed below that a recording error was detected by this verification process in sector S2, that is, that sector S2 is a defective sector. Instead of shifting the recording sectors 16 sectors, the unit used for error detection and correction coding, in this case, the data D2 that should have been recorded to the defective sector S2 is recorded to sector S3, the data D3 that should have been recorded to sector S3 is recorded to sector S4, and so on, shifting each sector after the defective sector one sector from the intended recording sector. The detected defective sector S2 is thereafter skipped by this slipping sector substitution process during subsequent data recording and reproducing operations. As thus described, however, sector skipping is managed in single sector units and not in units of sixteen sectors corresponding to the 16 sector unit of the error correction code. It is therefore only necessary to provide one alternate sector for one defective sector, thereby reducing the number of sectors that must be provided as alternate sectors, and enabling an optical disc to be efficiently utilized. It should be noted that if there are not enough data sectors in the data sector area ADS as a result of alternate sector slipping, data can be recorded to the spare sector area ASS of the linear replacement method.

[0059] An advantage of the slipping method is that performance is not degraded by substitution for a defective sector as a result of a seek operation such as required in the linear placement method, that is, movement of the optical head 10 to the spare sector area ASS of the data sector area ADS during data recording and reproduction. However, the slipping method is constrained by the need for the following sector to be unused. It is therefore preferable for the slipping method and the linear replacement method to be combined during use, that is, for the slipping method to be used for sector substitution when recording the disc for the first time after initialization, and for the linear replacement method to be used for sector substitution during subsequent recording operations.

[0060] It should be noted that error correction is applied only to the C1 code to identify recording error sectors in the above-described linear replacement method and slipping method. However, when a CRC or other error correction code for the sector data 3 is inserted to the sector data 3, the CRC can be decoded using only data from a particular sector. It is therefore possible to use the CRC for error detection after correcting the C1 code, and to detect recording error sectors based on this detection result.

[0061] As will be known from the above description, the sector substitution process is applied on a single sector basis for an error detection and correction coding unit of 16 sectors in both linear replacement and slipping methods in the present invention, thereby consuming fewer alternate sectors when a defective sector is detected, and enabling a disc to be efficiently utilized.

[0062] The operation of an optical disc recording and reproducing apparatus based on the present invention as shown in FIG. 5 is described next with reference to FIG. 8. Note that this process starts with a user instructing a host computer to write data to the optical disc 8 using a keyboard or other input means.

[0063] Then, at step #100, the command received from the host computer through the input terminal Ti is analyzed by the control CPU 18 to determine whether the requested process is a write (record) or read (reproduce) operation. If a write command is received, control advances to step #200; if a read command is received, control advances to step #800.

[0064] At step #200, the interface controller 15 is controlled for receiving the data to be recorded from the host computer. After the recording data S19 is received, the procedure steps to step #300.

[0065] The target address, that is, the address of the sector to which the data is to be recorded, is obtained from the primary defect list PDL and the secondary defect list SDL in step #300, and the procedure steps to step #400. Note that this step is described in further detail below with reference to FIG. 11. Briefly, however, the defective sector addresses PDSA0 to PDSAn contained in the primary defect list PDL, and the defective sector addresses SDSA0 to SDSAp and alternative sector addresses SSSA0 to SSSAp contained in the secondary defect list SDL as described with reference to FIG. 2, are detected.

[0066] At step #400, data is recorded to the sector at the target address detected in step #300, and the procedure steps to step #500. Note that the data recorded in this step #400 is stored in RAM 14 until all processes in steps #500, #600, and #700 are completed. Note that this step is described in further detail below with reference to FIG. 10.

[0067] After confirming whether the recorded sector can be correctly reproduced, that is, after the verification process of the recorded data, in step #500, the procedure steps to step #600. Note that data reproduction control of the error detector and corrector in this verification process step differs from that during normal data reproduction. That is, when the error detector and corrector 13 decodes the reproduced data from the modulator/demodulator 12, it decodes only data from the same sector, and thus decodes only the C1 code.

[0068] As a result of the verification process in step #400, it is determined in step #600 whether data was normally recorded to the intended target sector. The C1 code is a Reed-Solomon code with an additional 10-byte parity code, enabling correction of a maximum 5 bytes at any particular position in the code word. In the present step, however, the correction operation is limited to 3 bytes, and detection of any error exceeding this level results in a recording error determination. That is, a sector containing a single error exceeding 3 bytes is identified as a recording error sector, and a sector in which an error occurs in the ID part and the address information cannot be detected during recording, are treated as defective sectors. If the verification process returns yes because data recorded to the target sector cannot be normally reproduced, that is, the target sector is determined to be a defective sector, the procedure steps to step #700.

[0069] At step #700, a sector substitution process using either a slipping method or linear replacement method is performed, and the procedure then terminates. Note that operation in the slipping method and linear replacement method is described in further detail below with reference to FIG. 14 and FIG. 15.

[0070] If step #600 returns no, that is, the target sector is not a defective sector, the procedure ends.

[0071] If the received command is determined in the first step #100 to be a read command, the address of the sector from which data is to be read is detected in step #800 in the same manner as in step #300, and the procedure steps to step #1000. More specifically, the addresses of the sectors to be accessed in the reproduction sequence are detected based on the defective sector addresses PDSA0 to PDSAn contained in the primary defect list PDL, and the defective sector addresses SDSA0 to SDSAp and alternative sector addresses SSSA0 to SSSAp contained in the secondary defect list SDL.

[0072] At step #1000, data is reproduced from the sectors at the target addresses detected in step #800, and the procedure steps to step #1100. The operation of this step is described in detail below with reference to FIG. 9.

[0073] At step #1100, the interface controller 15 is controlled to transfer the reproduced data to the host computer, and the procedure then ends.

[0074] Operation of the control CPU 18 in the reproduction control step #1000 in FIG. 8 is described next with reference to FIG. 9.

[0075] At step S1002, the control CPU 18 controls the focus tracking controller 17 in a seek operation for moving the optical head 10 to the target track associated with the target sector to be read, and the procedure steps to step S1004. In this seek operation, focus tracking controller 17 is controlled to move the optical head 10 to the target track associated with the target sector to be read, and track the light beam to the target track.

[0076] At step S1004, the address recorded to the ID part of the sector is reproduced by the modulator/demodulator 12. The target sector is detected by a match between the reproduced address and the address of the target sector, and the process then steps to step S1006. More specifically, the target sector is detected by means of the modulator/demodulator 12 comparing and matching the address of the target sector with the address reproduced from the ID part of the disc.

[0077] At step S1006, data is reproduced from the data recording area UD of the detected target sector, digitally demodulated, and the procedure then steps to step S1008. The digitally demodulated reproduction data from the modulator/demodulator 12 is sent to the error detector and corrector 13.

[0078] At step S1008, the control CPU 18 controls the error detector and corrector 13 to correct errors resulting from dust, foreign matter, and defects on the optical disc 8, and the process then ends. That is, the error detection and correction code is decoded, error correction is applied, and the corrected data is stored to the RAM 14.

[0079] The operation of the control CPU 18 in the recording control step #400 in FIG. 8 is described next with reference to FIG. 10.

[0080] At step S402, the control CPU 18 controls the focus tracking controller 17 in a seek operation for moving the optical head 10 to the target track associated with the target sector to be read, and the procedure steps to step S404. In this seek operation, focus tracking controller 17 is controlled to move the optical head 10 to the target track associated with the target sector to be read, and tracks the light beam to the target track.

[0081] At step S404, the control CPU 18 controls the error detector and corrector 13 to error detection and correction code a 16 sector block of recording data twice, generating a product code, and the procedure steps to step S406. During this error detection and correction coding process, the recording data from the host computer is error detection and correction coded by the error detector and corrector 13, and the coded data is stored to the buffer RAM 14.

[0082] At step S406, the address recorded to the ID part of the sector is reproduced by the modulator/demodulator 12 and compared with the address of the target sector to detect the target sector, and the procedure steps to step S408.

[0083] At step S408, the error detection and correction coded data is digitally modulated by the modulator/demodulator 12, recorded to the data recording area UD of the detected target sector, and the procedure then ends.

[0084] The operation of the control CPU 18 in the target address detection step #300 in FIG. 8 is described next with reference to FIG. 11.

[0085] At step S310, the primary defect list PDL recorded to both the lead-in area LiA and lead-out area LoA is reproduced and stored to the buffer RAM 14. The procedure then steps to step S320.

[0086] At step S320 the address is converted for the slipping method based on the content of the reproduced primary defect list PDL, obtaining a sector address PADR based on the primary defect list PDL from the address LADR requested by the host. The procedure then steps to step S330.

[0087] At step S330, the secondary defect list SDL recorded to both the lead-in area LiA and lead-out area LoA is reproduced and stored to the buffer RAM 14. The procedure then steps to step S340.

[0088] At step S340, the address is converted for the linear replacement method based on the content of the reproduced secondary defect list SDL, obtaining a target address TADR for reproduction or recording from the PADR address. The procedure then ends.

[0089] The operation of the control CPU 18 in step S320 of FIG. 11 when converting an address for the slipping method based on the PDL is described further below with reference to FIG. 12.

[0090] At step S321, the address of a specified leading sector in the zone ZN with which the sector of address LADR is associated is detected, and substituted for address ZADR. The procedure then advances to step S323. That is, the first address in the zone to which the sector of address LADR belongs is set as address ZADR. Note that ZADR is uniformly determined in each zone according to a specific format.

[0091] The defective sector count q, which is the number q (where q is an integer) of sectors in the list of defective sector addresses stored to the primary defect list PDL with an address greater than or equal to ZADR and less than or equal to LADR, is determined in step S323, and the procedure steps to step S325. More specifically, the number q of defective sectors in the related zone up to the sector of address LADR is determined. As a result, the sector of address LADR is offset the number q of defective sectors by the sector unit slipping operation.

[0092] At step S325, it is determined whether the defective sector count q is 0. If the defective sector count q is not 0, that is, if defective sectors are present, a no is returned and the procedure steps to step S327. That is, it is determined, based on the value of the defective sector count q, whether LADR conversion due to sector slipping is necessary.

[0093] At step S327, LADR+1 is substituted for ZADR, LADR+q is substituted for LADR, and the procedure returns to step S323. That is, ZADR+1 is substituted for ZADR, and LADR+q is substituted for LADR, for determining whether a defective sector is present between the sector at address LADR and the offset sector at LADR+q. The steps following the defective sector detection step S323 are then repeated until at step S325 q=0.

[0094] However, if step S325 returns no, that is, the defective sector count q is 0 and it is thus determined that there are no defective sectors, the procedure steps to step S329.

[0095] At step S329, LADR is substituted for PADR, and the procedure ends. More specifically, LADR is directly substituted for PADR because there are no defective sectors as determined by q=0.

[0096] The operation of the control CPU 18 in the linear replacement method address conversion step S340 based on the SDL shown in FIG. 11 is described next with reference to FIG. 13.

[0097] In step S341, it is determined whether an address matching the PADR address converted according to the primary defect list PDL is stored in the defective sector addresses stored to the secondary defect list SDL. If the result is no, that is, if the same address is not stored in the secondary defect list SDL, the procedure steps to step S345.

[0098] At step S345, the PADR address is directly substituted for the recording and reproduction target sector address TADR, and the procedure ends.

[0099] If step S341 returns yes, that is, if the PADR address is recorded as a defective sector address in the SDL, the procedure steps to step S343.

[0100] At step S343, the corresponding alternate sector address is substituted for TADR, and the procedure ends.

[0101] The operation of the control CPU 18 when the sector substitution process step #700 in FIG. 8 is applied using the slipping method is described next with reference to FIG. 14.

[0102] At step S701, the data stored to the defective sector is shifted to the next sector and recorded in a slipping recording operation, and the procedure steps to step S703. That is, when the sector substitution process is performed in sector units using the slipping method, the data from the defective sector is alternately recorded to the next sector after the defective sector.

[0103] The verification process performed in step S703 reproduces the data recorded to the slip-recorded sector to confirm that the data is correctly recorded, and then the procedure steps to step S705. Note that the verification process performed in this step is the same as that performed in step #500 in FIG. 8.

[0104] Step S705 is a defective sector discrimination step whereby it is determined whether the sector to which data is shifted from a defective sector by the slipping method is itself a defective sector. As such, the operation of step S705 is the same as that of step #600 in FIG. 8. A no is returned when the sector is normally recorded by the slipping method, and the procedure steps to step S707.

[0105] The address of a newly detected defective sector is appended to the end of the PDL in step S707, and then the procedure steps to step S709.

[0106] The updated PDL is then multi-recorded to DMA1, DMA2, DMA3, and DMA4 in step S709, and the procedure ends.

[0107] If at step S705 a yes is returned because the sector was not normally recorded by the slipping method, the procedure loops back to step S701. In other words, whether the alternatively recorded sector could be correctly recorded or not is determined by the verification process step S703 and the defective sector discrimination step S705, and the slip recording step S701, verification process step S703, and defective sector discrimination step S705 are repeated until normal recording is successfully confirmed.

[0108] If the sector is normally recorded, the address of any newly occurring defective sector is appended to the end of the PDL in the PDL registration step S707. The PDL updated in the PDL registration step is then recorded multiple times, that is, to the DMA1, DMA2, DMA3, and DMA4 of the lead-in area LiA and lead-out area LoA.

[0109] The operation of the control CPU 18 when the sector substitution process step #700 in FIG. 8 is applied using the linear replacement method is described next with reference to FIG. 15.

[0110] At step S711, the data stored to the defective sector is replacement recorded to an alternate sector in the spare sector area ASS at the lowest unused address in the same zone ZN, and the procedure steps to step S713.

[0111] The verification process performed in step S713 reproduces the data recorded to the replacement recorded sector to confirm that the data is correctly recorded, and then the procedure steps to step S715. Note that the verification process performed in this step is the same as that performed in step #500 in FIG. 8.

[0112] Step S715 is a defective sector discrimination step whereby it is determined whether the sector to which data is recorded from a defective sector by the replacement method is itself a defective sector, and is the same as step #600 in FIG. 8. A no is returned when the sector is normally recorded by the replacement method, and the procedure steps to step S716.

[0113] At step S716, the address of the defective sector to which recording was first attempted, and the address of the corresponding alternate sector, are inserted as a pair to the secondary defect list SDL in ascending order at the address of the defective sector. The procedure then steps to step S718.

[0114] The updated secondary defect list SDL is then multi-recorded to DMA1, DMA2, DMA3, and DMA4 in step S718, and the procedure ends.

[0115] When the sector substitution process is implemented in sector units using a linear replacement method, the control CPU 18 alternately records the data from the defective sector to an unused alternate sector in the replacement recording step S711. Next, it determines whether the alternately recorded sector was correctly recorded in the verification process step S713 and the defective sector discrimination step S715, and the replacement recording step S711, verification process step S713 and defective sector discrimination step S715 are repeated until normal recording is successfully confirmed.

[0116] If the sector is normally recorded, the address of the defective sector to which recording was first attempted, and the address of the corresponding alternate sector, are inserted as a pair to the secondary defect list SDL in ascending order at the defective sector address in the SDL registration step S716, and the procedure ends.

[0117] Finally, the updated secondary defect list SDL is recorded multiple times, that is, to the DMA1, DMA2, DMA3, and DMA4 of the lead-in area LiA and lead-out area LoA in the SDL registration step S718.

[0118] A substitution process whereby one alternate sector is consumed for one defective sector is thus accomplished using a slipping method and a linear replacement method.

[0119] Ability for application in industry

[0120] As described above, a recording defect substitution method for a disc-shaped recording medium, and a disc-shaped recording medium recording and reproducing apparatus according to the present invention minimize the alternate area for defective sectors in high recording density disc-shaped recording media in which burst-mode recording and reproduction errors occur easily, and can thereby highly efficiently use the recording area of a disc-shaped recording medium. 

What is claimed is:
 1. A disc-shaped recording medium recording apparatus for recording data in sector units to a disc-shaped recording medium (8) having a structure with a plurality of recording sectors, said disc-shaped recording medium recording apparatus characterized by comprising: a coding means (13) for error detection and correction coding data in both row and column directions, and segmenting said coded data into sector units; means (10, 11, 12) for recording data coded in sector units to a sector in a first recording area (ADS) of the disc-shaped recording medium (8); defective sector discrimination means (#400, #500) for reproducing said sector to determine whether it is a defective sector; and defective sector substitution means (#700) for recording data to be recorded to said defective sector to an alternate sector in a second recording area (ASS) provided on said disc-shaped recording medium (8) when said sector is determined to be a defective sector.
 2. The disc-shaped recording medium recording apparatus according to claim 1, wherein the defective sector discrimination means (#400, #500) determines a sector to be a defective sector when address information (ID) pre-recorded to said sector cannot be correctly reproduced.
 3. The disc-shaped recording medium recording apparatus according to claim 1, wherein the defective sector discrimination means (#400, #500) determines a sector to be a defective sector by decoding only the error detection and correction code (C1), which can be decoded using only data recorded to said sector.
 4. The disc-shaped recording medium recording apparatus according to claim 2, wherein the defective sector discrimination means (#400, #500) determines a sector to be a defective sector when data recorded to said sector cannot be correctly reproduced.
 5. The disc-shaped recording medium recording apparatus according to claim 1, wherein for recording data in and after a defective sector, the defective sector substitution means (#700) alternately records to an alternate sector only data that should be recorded to said defective sector.
 6. The disc-shaped recording medium recording apparatus according to claim 1, wherein the second recording area (ASS) is provided separated a specific number of sectors or more from the first recording area (ADS).
 7. The disc-shaped recording medium recording apparatus according to claim 1, wherein for recording data in and after a defective sector, the defective sector substitution means (#700) skips only the defective sector, and shifts data recorded by sector unit to following sectors.
 8. The disc-shaped recording medium recording apparatus according to claim 1, wherein the second recording area (ASS) is contiguous to the first recording area (ADS).
 9. A disc-shaped recording medium recording method for recording data in sector units to a disc-shaped recording medium (8) having a structure with a plurality of recording sectors, said disc-shaped recording medium recording method characterized by: error detection and correction coding data in both row and column directions, and segmenting said coded data into sector units; recording data coded in sector units to a sector in a first recording area (ADS) of the disc-shaped recording medium (8); determining (#400, #500) whether a sector is a defective sector by reproducing said sector; and recording data to be recorded to said defective sector to an alternate sector in a second recording area (ASS) provided on said disc-shaped recording medium (8) when said sector is determined to be a defective sector.
 10. The disc-shaped recording medium recording method according to claim 9, wherein a sector is determined to be a defective sector when address information (ID) pre-recorded to said sector cannot be correctly reproduced.
 11. The disc-shaped recording medium recording method according to claim 9, wherein a sector is determined to be a defective sector by decoding only the error detection and correction code (C1), which can be decoded using only data recorded to said sector.
 12. The disc-shaped recording medium recording method according to claim 10, wherein a sector is determined to be a defective sector when data recorded to said sector cannot be correctly reproduced.
 13. The disc-shaped recording medium recording method according to claim 10, wherein for recording data in and after a defective sector, only data that should be recorded to said defective sector is recorded to an alternate sector.
 14. The disc-shaped recording medium recording method according to claim 9, wherein the second recording area (ASS) is provided separated a specific number of sectors or more from the first recording area (ADS).
 15. The disc-shaped recording medium recording method according to claim 9, wherein for recording data in and after a defective sector, the defective sector only is skipped, and data is shifted for recording by sector unit to following sectors.
 16. The disc-shaped recording medium recording method according to claim 9, wherein the second recording area (ASS) is provided contiguously to the first recording area (ADS).
 17. A disc-shaped recording medium for recording data in sector units to a disc-shaped recording medium (8) having a structure with a plurality of recording sectors, said disc-shaped recording medium (8) characterized by comprising: a first recording area (ADS) comprising a data sector for recording data that is error detection and correction coded in both row and column directions, and segmented into sector units; and a second recording area (ASS) comprising alternate recording sectors for alternately recording data recorded to a defective sector in the first recording area (ADS).
 18. The disc-shaped recording medium (8) according to claim 17, wherein for recording data in and after a defective sector, only data that should be recorded to said defective sector is recorded to an alternate sector.
 19. The disc-shaped recording medium (8) according to claim 17, wherein the second recording area (ASS) is provided separated a specific number of sectors or more from the first recording area (ADS).
 20. The disc-shaped recording medium (8) according to claim 17, wherein for recording data in and after a defective sector, the defective sector only is skipped, and data is shifted for recording by sector unit to following sectors.
 21. The disc-shaped recording medium (8) according to claim 17, wherein the second recording area (ASS) is provided contiguously to the first recording area (ADS).
 22. An apparatus for reproducing data from a disc-shaped recording medium (8) having a structure with a plurality of recording sectors characterized by a first recording area (ADS) comprising a data sector for recording data that is error detection and correction coded in both row and column directions, and segmented into sector units, a second recording area (ASS) comprising alternate recording sectors for alternately recording data recorded to a defective sector in the first recording area (ADS), a first address recording area (LiA, LoA) for recording sector addresses in the first area, and a second address recording area (PDL, SDL) for recording an alternate sector address corresponding to a defective sector; said disc-shaped recording medium reproducing apparatus characterized by comprising: means (31, #800) for detecting a recording data sector address from said first address recording area (LiA, LoA), and detecting an alternate sector address from said second address recording area (PDL, SDL); and reproduction control means (32, #1000) for controlling a data reader to sequentially access sectors based on the detected sector address and reproduce the recorded data. 